
import 'package:flutter/foundation.dart';

class Devices with ChangeNotifier {
  String _count;
  Devices(this._count);

  void set() {
    _count = "1";
    notifyListeners();//2
  }
  get count => _count;//3
}